Piezo sounders produce a sound whenever there is a change in the voltage across them. The frequency of the generated tone depends upon the frequency of the changing voltage.
Part parameters: